#pragma once

#include "Frame.h"

#include <vector>
using namespace std;

class CAnimation
{
	friend class CFrame;
	friend class CAnimationManager;

	
	// Playback
	bool m_bIsLooping;
	
	//Image
	int  m_nImageID;

	// NAME
	string m_szName;

public:
	CAnimation(void);
	~CAnimation(void);
	bool GetIsLooping() { return m_bIsLooping; }
	std::vector<CFrame*> m_vFrames;
	int GetImageID() { return m_nImageID; }
	void SetIsLooping( bool _bIsLooping ) { m_bIsLooping = _bIsLooping; }
	string GetName() { return m_szName; }
	void SetName( string _Name) { m_szName = _Name; }
};

